package com.zhang.modules.video.entity.cmd;

import com.zhang.common.jpa.entity.PageCmd;
import com.zhang.common.jpa.entity.impl.BasePageCmd;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * A DTO for the {@link com.zhang.modules.video.entity.VideoBasicInfo} entity
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class VideoPageCmd extends BasePageCmd implements Serializable {
    private String createBy;
    @Size(max = 128)
    private String videoStar;
    @Size(max = 128)
    private String videoCategory;
    @Size(max = 128)
    private String videoTitle;
    @Size(max = 128)
    private String videoYear;
    @Size(max = 128)
    private String videoCountry;
    @Size(max = 128)
    private String videoTime;
    private Long views;
    private Boolean status;
}